n=eval(input('请输入一个n:'))
from math import factorial
if n>=0:
    z=factorial(n)
    print(z)
else:
    print('错误')


